package com.jinxin.platform.cdysylives.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;

import java.time.LocalDateTime;

/**
 * <b>[cdysylives_device_task]数据持久化对象</b>
 * <p>
 * 注意:此文件自动生成-禁止手工修改。
 * </p>
 * 
 * @author @blue
 * @date 2023-08-02
 */
public class CdysylivesDeviceTask{

	/**
	 * 设备任务关联ID
	 */
	private String id;
	
	/**
	 * 任务ID
	 */
	private String taskId;
	
	/**
	 * 设备ID
	 */
	private String deviceId;
	
	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@JsonSerialize(using = LocalDateTimeSerializer.class)
	private LocalDateTime createTime;
	

	/**
	 * 设备任务关联ID
	 * 
	 * @return id
	 */
	public String getId() {
		return id;
	}
	
	/**
	 * 任务ID
	 * 
	 * @return taskId
	 */
	public String getTaskId() {
		return taskId;
	}
	
	/**
	 * 设备ID
	 * 
	 * @return deviceId
	 */
	public String getDeviceId() {
		return deviceId;
	}
	
	/**
	 * 创建时间
	 * 
	 * @return createTime
	 */
	public LocalDateTime getCreateTime() {
		return createTime;
	}
	

	/**
	 * 设备任务关联ID
	 * 
	 * @param id
	 */
	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 * 任务ID
	 * 
	 * @param taskId
	 */
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	
	/**
	 * 设备ID
	 * 
	 * @param deviceId
	 */
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	
	/**
	 * 创建时间
	 * 
	 * @param createTime
	 */
	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}
	

}